package com.ddwl.wallet.dao;


import com.ddwl.common.constant.BaseEnum;
import com.ddwl.common.constant.Constant;
import com.ddwl.common.dao.TkDao;
import com.ddwl.wallet.dao.mapper.WithdrawChannelConfMapper;
import com.ddwl.wallet.dao.model.WithdrawChannelConf;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author hemiaojun
 * @Date
 */
@Repository
public class WithdrawChannelConfDao extends TkDao<WithdrawChannelConfMapper, WithdrawChannelConf> {


    public List<WithdrawChannelConf> findEnableConf() {
        WithdrawChannelConf conf = new WithdrawChannelConf();
        conf.setEnable(BaseEnum.StatusEnum.ENABLE.getCode());
        return this.select(conf);
    }

}